<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="java.util.*"%>
<html>
<head>
<meta charset="UTF-8">
<title>订单</title>
<link href="../css/merchant.css" rel="stylesheet" type="text/css" />
<script language="JavaScript"
	src="http://libs.baidu.com/jquery/2.0.0/jquery.js"></script>
<script language="JavaScript" src="../js/bootstrap.js"></script>
<script language="javascript" src="../js/jquery.uploadifive.min.js"></script>

<link rel="stylesheet" type="text/css" href="../css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="../css/add_dish.css" />
<link rel="stylesheet" type="text/css" href="../css/normalize.css" />
<link rel="stylesheet" type="text/css" href="../css/demo.css" />
<link rel="stylesheet" type="text/css" href="../css/icons.css" />
<link rel="stylesheet" type="text/css" href="../css/component.css" />
<link rel="stylesheet" type="text/css" href="../css/head.css" />
</head>

<%
	String token = UUID.randomUUID().toString().replace("-", "");
	request.getSession().setAttribute("token_session", token);
%>

<body>

	<ul id="nav" class="hul">
		<img src="http://10.222.232.168:83/img/logo.png" />
		<li class="logout"><a href="logOut">注销</a></li>
		<li class="logout"><a href="orderManager.jsp" id="newMsg"></p></a></li>
	</ul>

	<div id="st-container" class="st-container">
		<!--
        example menus
        these menus will be on top of the push wrapper
    -->
		<nav class="st-menu st-effect-1" id="menu-1">
			<h2 class="icon icon-lab">商家</h2>
			<ul>
				<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
				<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
				<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
				<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
			</ul>
		</nav>

		<nav class="st-menu st-effect-2" id="menu-2">
			<h2 class="icon icon-lab">商家</h2>
			<ul>
				<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
				<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
				<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
				<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
			</ul>
		</nav>

		<nav class="st-menu st-effect-4" id="menu-4">
			<h2 class="icon icon-lab">商家</h2>
			<ul>
				<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
				<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
				<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
				<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
			</ul>
		</nav>

		<nav class="st-menu st-effect-5" id="menu-5">
			<h2 class="icon icon-lab">商家</h2>
			<ul>
				<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
				<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
				<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
				<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
			</ul>
		</nav>

		<nav class="st-menu st-effect-9" id="menu-9">
			<h2 class="icon icon-lab">商家</h2>
			<ul>
				<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
				<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
				<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
				<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
			</ul>
		</nav>

		<nav class="st-menu st-effect-10" id="menu-10">
			<h2 class="icon icon-lab">商家</h2>
			<ul>
				<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
				<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
				<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
				<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
			</ul>
		</nav>

		<nav class="st-menu st-effect-11" id="menu-11">
			<h2 class="icon icon-lab">商家</h2>
			<ul>
				<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
				<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
				<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
				<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
			</ul>
		</nav>

		<nav class="st-menu st-effect-12" id="menu-12">
			<h2 class="icon icon-lab">商家</h2>
			<ul>
				<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
				<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
				<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
				<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
			</ul>
		</nav>

		<nav class="st-menu st-effect-13" id="menu-13">
			<h2 class="icon icon-lab">商家</h2>
			<ul>
				<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
				<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
				<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
				<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
			</ul>
		</nav>


		<div class="st-pusher">
			<nav class="st-menu st-effect-3" id="menu-3">
				<h2 class="icon icon-lab">商家</h2>
				<ul>
					<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
					<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
					<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
					<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
				</ul>
			</nav>

			<nav class="st-menu st-effect-6" id="menu-6">
				<h2 class="icon icon-lab">商家</h2>
				<ul>
					<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
					<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
					<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
					<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
				</ul>
			</nav>

			<nav class="st-menu st-effect-7" id="menu-7">
				<h2 class="icon icon-lab">商家</h2>
				<ul>
					<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
					<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
					<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
					<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
				</ul>
			</nav>

			<nav class="st-menu st-effect-8" id="menu-8">
				<h2 class="icon icon-lab">商家</h2>
				<ul>
					<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
					<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
					<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
					<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
				</ul>
			</nav>

			<nav class="st-menu st-effect-14" id="menu-14">
				<h2 class="icon icon-lab">商家</h2>
				<ul>
					<li><a class="icon icon-data" href="dishManager.html">菜单管理</a></li>
					<li><a class="icon icon-study" href="orderManager.jsp">订单管理</a></li>
					<li><a class="icon icon-wallet" href="historyOrder.jsp">历史订单</a></li>
					<li><a class="icon icon-phone" href="merchentMsg.jsp">商家信息</a></li>
				</ul>
			</nav>
			<div class="st-content">
				<div class="st-content-inner">

					<div class="main clearfix">
						<div id="st-trigger-effects" class="column">

							<button data-effect="st-effect-8">商家管理</button>

						</div>
						<div>

							<div class="dish">

								<form action="addDish" method="post"
									enctype="multipart/form-data" class="bootstrap-frm">
									<table>
										<tr>
											<td><input type="hidden" value="${token_session }"
												name="token"></td>
										</tr>
										<tr>
											<td><label>菜名</label></td>
											<td><input type="text" name="dname" id="dname"></td>
										</tr>
										<tr>
											<td><label>价格</label></td>
											<td><input type="number" name="price" id="price"></td>
										</tr>
										<tr>
											<td><label>图片</label></td>
											<td><input type="file" name="dicon" /></td>
										</tr>
										<tr>
											<td colspan="2"><input type="submit" id="addDishBtn"
												value="添加菜品" class="button"></td>
										</tr>
									</table>
								</form>
								<div></div>

							</div>
						</div>
					</div>
				</div>
			</div>
			<script src="../js/classie.js"></script>
			<script src="../js/sidebarEffects.js"></script>
</body>
<script type="text/javascript">
	$(document).ready(function() {

	});

	$(function() {
		$('#uploadFile').uploadifive({
			'auto' : false,
			'checkScript' : 'check',
			'queueID' : 'queue',
			'swf' : '../js/uploadify.swf',
			'uploader' : '../js/uploadifive.php',
			'uploadScript' : 'uploadi5',
			'onUploadComplete' : function(file, data) {
				console.log(data);
			}
		});
	});
</script>
</html>









